home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
serial
/
callback.001
/
callback~
/
callback
/
cb
/
disable.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-07-28
|
396b
|
23 lines
#include "cb.h"
void disable()
{
char
*line;
while ((line = get_active_tty()))
{
char
*dis;
assign_filenames(line);
dis = getfile(the_disablefile);
fclose(xfopen(dis, "w"));
log(log_on, "Disable %s by creating %s", line, dis);
unlink(getfile(the_statefile));
}
modem_respawn();
}